package com.xopencode.account.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Mcb
 * @date 2022/4/24
 * @apiNote
 */
@FeignClient(name = "order-service")
@RequestMapping("/order")
public interface OrderClient {

    @RequestMapping("/add")
    void addOrder(@RequestParam("state") int state);
}
